package builderExample;

public class ScheduleRunner {

	public static void main(String[] args) {
		System.out.print("WEIGHT LOSS ");
		ScheduleBuilder scheduleBuilder = new WeightLossScheduleBuilder();
		ScheduleDirector scheduleDirector = new ScheduleDirector(scheduleBuilder);
		scheduleDirector.constructSchedule();
		Schedule schedule = scheduleDirector.getSchedule();
		System.out.println("Training Schedule: " + schedule);
		
		System.out.print("STRENGTH ");
		scheduleBuilder = new StrengthScheduleBuilder();
		scheduleDirector = new ScheduleDirector(scheduleBuilder);
		scheduleDirector.constructSchedule();
		schedule = scheduleDirector.getSchedule();
		System.out.println("Training Schedule: " + schedule);
	}
}
